package cn.ztydata.teachingsystem.heaven.entity;

/**
 * 用户角色实体类
 *
 * @author fanruiping
 * @since 2014-12-01
 */
public class Role extends BaseEntity {
    private Long id;//编号
    private Long teacherId;//教师编号
    private Integer role = 0;//角色
    private Long deptId;//系部编号
    private Long specialtyId;//专业编号

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(Long specialtyId) {
        this.specialtyId = specialtyId;
    }
}
